package com.lotterymanage.dao.impl;

import com.lotterymanage.dao.UserRootinDao;
import java.util.List;

import org.springframework.stereotype.Repository;

import com.lotterymanage.domain.UserRootin;

/**
 * 用户来源dao实现类.
 * @author lxz
 * @date Apr 25, 2010
 */
@Repository("userRootinDao")
public class UserRootinDaoImpl extends AbstractDaoImpl implements UserRootinDao {

    /**
     * 获取用户来源列表.
     * @return list
     */
    @SuppressWarnings("unchecked")
    public List<UserRootin> selectUserRootin() {
        return (List<UserRootin>) this.getSqlMapClientTemplate().queryForList("USER-ROOTIN");
    }

}
